get Text Runs
Returns all text runs within the given range of text.
Each run represents a contiguous span of text with uniform formatting. Runs are ordered and together cover the full requested range.
Return
the ordered list of text runs covering the requested range.
Parameters
the text block to query.
the start index of the range. If the value is negative and the block is currently being edited, this will fall back to the start of the current cursor index / selected range. If the value is negative and the block is not being edited, this will fall back to the start of the entire text range.
the index after the last character of the range. If the value is negative and the block is currently being edited, this will fall back to the end of the current cursor index / selected range. If the value is negative and the block is not being edited, this will fall back to the end of the entire text range.